import 'package:client_ui/api/api/ConnectApi.dart';
import 'package:client_ui/page/IndexPage.dart';
import 'package:client_ui/util/GlobalData.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

import 'api/Request.dart';

void main() {
  runApp(const App());
}

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MultiProvider(
        providers: [
          ChangeNotifierProvider<GlobalData>(
            create: (ctx) => GlobalData(),
          ),
        ],
        child: const MaterialApp(
          title: '即使通讯',
          home: IndexPage(),
        ));
  }
}
